<?php
/**
 * Created by PhpStorm.
 * User: DELL
 * Date: 2018/10/24
 * Time: 22:32
 */

namespace app\admin\validate;


use think\Validate;

class Translate extends Validate
{

    protected $rule = [
        'title' => 'require',
        'content' => 'require',
    ];

    protected $message = [
        'title' =>  '标题不能为空',
        'content'  =>  '内容不能为空',
    ];
}